package com.jhhc;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;


@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableTransactionManagement
@EnableAsync
//@NacosPropertySource(dataId = "SERVER_ID",autoRefreshed = true)
//@MapperScan(value = {"com.jhhc.RHDB.Data.Dao", "com.jhhc.FloodForecast.BaseInfo.Dao"
//        , "com.jhhc.FloodForecast.Calculate.Condition.Dao", "com.jhhc.FloodForecast.OperationModel.Dao"
//        , "com.jhhc.FloodForecast.ForecastModel.Dao"})
//@EnableScheduling
public class RiverStrongAPI{

    public static void main(String[] args) {
        SpringApplication.run(RiverStrongAPI.class, args);
        System.out.println("http://localhost:2111/");
        System.out.println("http://localhost:2111/doc.html");
    }


}
